package com.eboss.sbs.http;

public class HttpResponse<T> {

	private String cmd;
    private String code;
    private String msg;
    private T result;

    public HttpResponse() {}

    public HttpResponse(String cmd, String code, String msg, T result) {
    	this.cmd = cmd;
        this.code = code;
        this.msg = msg;
        this.result = result;
    }

    public String getCode() {return code;}
    public void setCode(String code) {this.code = code;}
    public T getResult() {return result;}
    public void setResult(T result) {this.result = result;}
	public String getCmd() {return cmd;}
	public void setCmd(String cmd) {this.cmd = cmd;}
	public String getMsg() {return msg;}
	public void setMsg(String msg) {this.msg = msg;}
    
}
